package com.shopx.auth.DTO;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * TODO
 *
 * @author lituo
 * @date 2021/12/10 9:18 AM
 */
@Data
public class LoginMngDTO {
  @NotNull(message = "请填写电话号码")
  @NotEmpty(message = "请填写电话号码")
  private String loginName;
  @NotNull(message = "请填写密码")
  @NotEmpty(message = "请填写密码")
  private String password;
  private String cpId;
  @NotNull(message = "请填写验证码")
  @NotEmpty(message = "请填写验证码")
  private String randomCode;
  @NotNull(message = "请刷新验证码")
  @NotEmpty(message = "请刷新验证码")
  private String codeKey;
  private String openId;
}
